add -lboost_thread option which is required from boost-thread