Fixing Mercurial commands in CMakeLists.txt