Small fixes to allow compilation on windows

* Usage of #line was nonstandard :-(
* May need GLEW on windows after all, since some symbols like
  GL_VERTEX_PROGRAM_POINT_SIZE are not defined by standard GL headers.
  For now just define this to the appropriate value if required.