Rework threading abstractions to run on Windows XP.
Actually add /EHsc to options.

It helps if you use the right option name.