fix for windows
Merge pull request #2192 from Atlante45/freeglut_fix

fix for windows