fix std::index_sequence and std::make_index_sequence compatibility