CMake: make GLWT_LIBRARIES a cache variable

This makes it easier to include GLWT in other projects by making the
variable essentially global.