Use libgit2/build as suggested by libgit2 docs

PR created for Travis-CI to build.