build fixes for slub.c + right permissions for build.sh