make boost::timer and tbb optional