Merge pull request #5293 from samuele3hu/developDynamic

fix:Compile error of the project that lua template generate on the iOS platform
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into developDynamic