Patch to the Cmake build system