Make shell scripts POSIX compliant

:neckbeard:

In ubuntu `sh` is `dash`, not `bash`. This small fix makes `sh build.sh` work.