tweak to make building from source easy

tweaked to check if _GLFW_EGL has been defined as part of a project to make this able to be built from source.