Initial support for Visual C++ 2013
Replace worker thread join on shutdown with a shutdown event, since joining deadlocks on MSVC