Improve CMakeLists and make stuff installable.