autotools: require std::begin and std::end support