One of my old wrapper classes typedefs boost::detail::thread::scoped_lock<boost::recursive_mutex> which seems to be missing from the latest version. Replaced with boost::mutex::scoped_lock perhaps? I expect to find other changes i thread...
I rather suspect it's now boost::unique_lock< boost::recursive_mutex >
Where unique_lock provides RAII scoped-lock "front end" semantics and recursive_mutex provides the "back end" for the lock.