build with and without cgo