Fixed CMake UNIX config when building only the static or shared library

 - was setting a property on "freeglut" while "FREEGLUT_BUILD_SHARED_LIBS" was "OFF"
 - and on "freeglut_static" while "FREEGLUT_BUILD_STATIC_LIBS" was "OFF"