Allow MSVC to use DLL TLS but disable DLL TLS by default (Markus Henschel)
Use lazy initialization for thread local state object (Markus Henschel)
set _WIN32_WINNT version to Windows XP to get DirectSound 8 (Markus Henschel)