Fix cgo imports/links