Only install mercurial and bazaar if using CPython