Allow overridable DEFINES var in Makefile

Add check to see if DEFINES was replaced in the commandline
by the user.  In particular This allows user to override the
DEFAULT_CORE define.