cmake and freeglut

-switched to freeglut
-first attempt with cmake