Update plugins/c_src.mk to add OS type detection code