Fixes to build.sh to get the demo working.