link freeglut dynamically by default, but add option for static