Fix emulator build for ios

The https://github.com/Icenium/icenium-cli/pull/406 PR was merged without vital changes to the build. Add them back.