compile with new libgit