Consolidate various cgo directives into one file