Update to use new libgit2 API
Add Linux support and ./configure