Auto detection of libs failed. Reverted the CMakeLists to minimal version. Kept the adjustments to Doxygen etc.

Seb