Change Makefile to CMake.