using libgit2 and building with make