Fixed issue with compilation related to other platforms. None object was iterable.