fix cgo_build bug