Use |std::thread| on Windows
Disable exceptions on Windows

When -fno-exceptions is specified.