fix glut frontend compiler issue