Add CC/CFLAGS os type detection code to plugins/c_src.mk