diff --git a/build.sh b/build.sh
index bb3b0e6857966a355c3a31949dba99ec77b5d311..ce2f4739cfa7c124124e62530f79df79d9588457 100755
--- a/build.sh
+++ b/build.sh
@@ -19,7 +19,7 @@ if [ x"$hostname" == x"cifarm-ubuntu-node"  ]; then
 	export PATH="$HOME/openfpm_dependencies/openfpm_pdata/$6/MPI/bin/:$PATH"
 fi
 
-if [ x"$hostname" == x"cifarm-mac-node"  ]; then
+if [ x"$hostname" == x"cifarm-mac-node.mpi-cbg.de"  ]; then
         export PATH="$HOME/openfpm_dependencies/openfpm_pdata/$6/MPI/bin/:$PATH"
 	export PATH="/usr/local/bin:$PATH"
 fi