Fixed linux builds

The CMake file was errantly setting GLEW_LIBRARY in the linux section. This was causing a failure in find_package(GLEW). The setting to a dummy value was moved to the Mac section as Mac doesn't use GLEW.