Adds CGO build flags for freebsd.
This address issued #119