Fixed build.sh to run on Ubuntu