Switch from GNU Autotools to CMake