Converted C++ Makefile to CMake Scriptj