build.sh now propagates the compiler's exit status.
Fixed a bug in the build script.

It now functions properly when run from outside the directory containing it and launcher.m.