Incorporate GLEW to compile on MinGW

An easy workaround to compile >=GL1.2 features on MinGW.