diff --git a/build.sh b/build.sh
index 1842b126d7e8b33fbbee9a56a9d6967477194482..c8c496ea9dc2a0d2119c3b8da0364f7a70c23dd6 100755
--- a/build.sh
+++ b/build.sh
@@ -23,6 +23,7 @@ echo "GPU compilation: $with_gpu"
 
 if [ x"$hostname" == x"cifarm-centos-node"  ]; then
 	echo "CentOS node"
+	scl enable devtoolset-7
 fi
 
 if [ x"$hostname" == x"cifarm-ubuntu-node"  ]; then