cleanup cgoflags