fixed permissions for build scripts