Fix kill command in build.sh to work on OSX

Would it make sense then to branch out to every OS? Or does the `--quiet` flag simply get ignored for OS X?