Fix not building libgit2.