build libgit2 as multithreaded