remove dependencies on boost::thread and boost::foreach