added some build tweaks for ios native