changed how to get libgit2 dependency