Explicitly set OpenGL version to 1.5 core profile. Included freeglut.h rather than glut.h.