CMake changes & additions => linking works on VS2010 + Qt5.0.2.

Changes to CmakeLists.txt files are also in the hermes repository.