update cgo flags