fix travis-ci support, adding a script to build libgit2