diff --git a/templates/common/build_icon.sh b/templates/common/build_icon.sh
index 78d386a14ac0805c2f8c5ac7b5fd807fbcdb6701..6d9bd83faf907950bced90f73a41f9732501af32 100644
--- a/templates/common/build_icon.sh
+++ b/templates/common/build_icon.sh
@@ -44,7 +44,7 @@ if [ ! -f "${definitions_tar_file}" ]; then
 
   if [ ! $(rpm -qa | grep bzip2) ]; then
     spack install bzip2
-    spack load bzip2
+    spack load --first bzip2
   fi
 
   # Decompress definitions file