Enable CGO for OS X when building binary.