Use CMake when building the vendored libgit2.