update to libgit2 v0.19.0
also build embedded libgit2
one export macro is enough