fix build script permission