[boost] [thread] patch for tss.cpp (win32 + static linking support)