Supply fallback for itertools.compress for Python 2.6