Allow older versions of boost.

std::array support is only available in newer versions; we'll retain
support for older versions for now.