Fix build script permissions