Fix build for iOS and add build scripts for iOS

Change-Id: I65606cff26f0564bc580b05761bbc68b7f9872f3