Fixed compilation on Windows + use Irrlicht's loaded GL extensions instead of counting on link time with GL_GLEXT_PROTOTYPES, which doesn't work on Windows