next step converting build to CMake