Bugfix: we should check iOS at runtime