Remove posix-specific Cxx11 gthreads, add win32 support