Fix compilation against failure against JDK 7u65

Interface java.util.Iterator<E> requires void remove(), but it's not
provided