fix perms on build script