try to fix:
error: invalid use of incomplete type 'class boost::thread'