Update Core.cpp

Had a little issue building today on OS X Mavericks with both SDL and SDL2 installed via Homebrew. Saw that KMOD_GUI is no longer #define-d in SDL/SDL_keysym.h, so added an #ifndef directive.