Fixes build flag when using freeglut.