Moved #defines to build script

Pulled out of example sources and added to premake script. Not sure if
GLFW_INCLUDE_COREARB is required for Linux, but it is not for Windows.