For anyone seeing this in the future I had to make the build,sh script executable with:
chmod +x build.sh