fix build.sh script