Remove a linking warning and add API changes from libgit2 v0.19.0 'gut merge'