Fixed testproject include directories
Changed glew and freeglut to static linking
Added a quick hack to opengl checking so it actually prints something