Utterly destroyed the gllog functions, hopefully it builds with glew now.