enable build for iOS
Merge pull request #153 from happywarrior/master

changes to enable build for iOS