fixing build.sh to pass most of the tests.