Adding workaround for MSVC bug (set-fault on SHT.cc). Apparently compiler was trying to inline function with C++ EH in to function with SEH.