Fix ios build error
Merge pull request #790 from marynate/PR-fix-ios-build

Fix ios build error