Tweaks to make iOS engines compile