autoconf should call AX_BOOST_THREAD first.