Fix bc905fcd, include boost/version.hpp before using BOOST_VERSION macro