diff --git a/build.sh b/build.sh
index e77e7cd669339b56c2f93caf543b93e2716d9b7d..ac52a8a7921f440d89cd7969213a25a87e794b20 100755
--- a/build.sh
+++ b/build.sh
@@ -19,8 +19,7 @@ fi
 
 if [ x"$hostname" == x"cifarm-mac-node.mpi-cbg.de"  ]; then
         echo "Mac node"
-	./install_CMAKE_on_CI.sh $HOME/openfpm_dependencies/openfpm_devices/CMAKE 4
-        export PATH="$HOME/openfpm_dependencies/openfpm_devices/CMAKE/bin:$PATH"
+        export PATH="$HOME/openfpm_dependencies/openfpm_devices/CMAKE/CMAKE/bin:$PATH"
 fi
 
 mkdir src/config