updated CMakeLists.txt with license and fixed a wrong path