Update small warning in core.mk

define fix warning flags 
i.e warning: command line option '-std=gnu++11' is valid for C++/ObjC++ but not for C .