switched to CMake instead of autotools