Use 'go install' to build all commands at the same time.

'go build' compiles the packages but discards the results if multiple packages specified.
Merge pull request #643 from zhgwenming/build

Use 'go install' instead of 'go build' to generate all commands at the same time.