Backport Raring's libgit2 to Lucid.