Remove posixisms to enable build on Windows
Gyp: remove bash dependencies
Correct linker settings for MSVS
Stub out pthread stuff on Windows
Build libgit2 as static library on windows