Runs go fmt on code.
Adds CGO CFLAGS and LDFLAGS for freebsd.
This address issue #44
Merge pull request #45 from jteeuwen/master

Adds CGO build flags for freebsd.