replace glut by freeglut