OpenGL extension loading (WIP)
Minimal changes to enable MSVC build