build libgit2 and make ext