Replace CMake build system with distutils.