Adding license, CMake compatibility