Start migrate to CMake