workaround for usage of an InputIterator

* presumably an issue with clang/libcxx on MacOS?