Replaced Makefile with CMakeLists.txt