[JSB] Fixing compilation errors for iOS and Mac projects.
Merge pull request #4007 from dumganhar/update-project

[JSB] Fixing compilation errors for iOS and Mac projects.