Update build.sh

On non-Darwin systems, no space was created between -lm and -lrt, causing the build to fail.