cgo: linux support fixed