Tweaks to build for ios