scripts: use bash for build script

@xiangli-cmu yes, we want to abort as soon as possible. e.g. if `go test` fails I want to abort there instead of going on to run `gofmt`