Fix permissions on new build script