support fallback for cgo