Update to reflect changes to libgit2

These changes allow it to work with the latest libgit2 (9/4/2013)