--- libexec/cli/build.exec.old	2018-03-08 13:52:42.786096197 +0100
+++ libexec/cli/build.exec	2018-03-08 13:53:29.989946615 +0100
@@ -365,7 +365,7 @@
         else
             OPTS=""
         fi
-        if ! mksquashfs "$SINGULARITY_ROOTFS/" "$SINGULARITY_CONTAINER_OUTPUT" -noappend $OPTS > /dev/null; then
+        if ! $EBROOTSQUASHFSMINTOOLS/bin/mksquashfs "$SINGULARITY_ROOTFS/" "$SINGULARITY_CONTAINER_OUTPUT" -noappend $OPTS > /dev/null; then
             message ERROR "Failed squashing image, left template directory at: $SINGULARITY_ROOTFS\n"
             exit 1
         fi
