Adjust to libgit2 dev changes

This fixes #87