correct GL 1.x function pointer retrieval on Windows