Allow some warnings in libgit2