Changes for updated Boost.Thread version.