Fixes build on FreeBSD, which uses /usr/local/bin/bash, and also is just a more idiomatic way to handle shells.