diff --git a/build.sh b/build.sh
index 04c826c163e0d3363b19a9ac185dd26a341cf372..8853d71a85227c2d3affb6a0a538d9bd030934f5 100755
--- a/build.sh
+++ b/build.sh
@@ -12,14 +12,14 @@ if [ x"$hostname" == x"cifarm-centos-node.mpi-cbg.de"  ]; then
 	export PATH="$HOME/openfpm_dependencies/openfpm_pdata/$branch/CMAKE/bin:$PATH"
 fi
 
-if [ x"$hostname" == x"cifarm-ubuntu-node"  ]; then
+if [ x"$hostname" == x"cifarm-ubuntu-node.mpi-cbg.de"  ]; then
         echo "Ubuntu node"
         export PATH="/opt/bin:$PATH"
-	rm -rf $HOME/openfpm_dependencies/openfpm_devices/BOOST
 fi
 
 mkdir src/config
 
+rm -rf $HOME/openfpm_dependencies/openfpm_devices/BOOST
 
 if [ ! -d $HOME/openfpm_dependencies/openfpm_devices/BOOST ]; then
         if [ x"$hostname" == x"cifarm-mac-node" ]; then