VC compilation is broken. Make sure to use the dynamic boost-thread lib with mingw, as thread specific pointers are used!