Ported manual OGL extension loading to win32 + few minor changes