Fix install optimization for Xcode generator
Fix openssl ios x86_64 simulator build