Use external linking for cgo package