Use go build, not go install because of golang issue

If you don't have write permission to the location of the 3rd party
deps, you can't use go install
  https://code.google.com/p/go/issues/detail?id=8521
We already require bash, so use [[ ... ]].

Also, -n means not empty:

```if [[ -n "${USE_BUILD-}" ]]; then```