Add CMakeLists.txt for compilation