fallback for std::index_sequence in libstdc++ 4.8