Add cgo support