fix build.sh permissions