call to it caused infinite loop in global build

In the global build, the `it` function contained a reference to
itself. Instead capture reference to the original `it` for calling.