build with CMake
remove too verbose printfs