cgoflags: consolidate