Run checkbashisms as part of the build process

This ensures that the script is not using any bash-isms now the shebang
line is /bin/sh