[boost] Using Boost::Thread in DLL fails on LoadLibrary