Switch to static linking.

Requires Go 1.1.
Works on Mac.
Fails on Travis-CI due to Go 1.0.