Removing some duplicate code from "freeglut_init.c" and its Windows version