fixing up vs2008 and vs2010 with new code and freeglut