Change the type of the extensions for early versions of Boost.