iOS- Fixed some build errors