Use CMAKE_COMMAND variable to run cmake