Minor build fixes

These are the most essential changes that are required to make VOGL compile under ArchLinux.

Basically, it leaves more work on the CMake itself. The improvement here is that it gets rid of many hardcoded paths, so CMake can find the system-wide libraries as well as locally installed libs (using CMAKE_PREFIX_PATH). Also there are fixes to some missing libraries.