Fixes for AOT compilation for iOS.
Merge pull request #1 from dpalmeratmc/master

Fixes for AOT compilation for iOS.