Fixing travis errors for generating JSB glue codes.
Merge pull request #3009 from dumganhar/travis-jsb-fix

Fixing travis errors for generating JSB glue codes.