[boost] [thread] patch for borland regression