Changes to CMakeLists to make use with add_subdirectory easier.