Added licenses
Fixed error in CMakeLists