clean up the CMakeLists.txt file, allowing it to be more cross platform.
TODO: Gentoo, Debian and Red Hat packaging.