CMake build system support, to be applied after June 2012 Fedora 17 patches