Updating `build.sh` script.

Moving the build/test/install code into a function. And adding a hidden
`--universal-linux-build` option that is not working yet on my ubuntu
machine.