Remove bashism from build.sh

Probably shouldn't have a bashism in a file with `#!/bin/sh` at the top.