change build script from Makefile to CMake