Fixed git2.h not including threads.h anymore