fixed build.sh script