Solve the problem when updating the build_cfg.json.

The problem is described in this PR:
https://github.com/cocos2d/cocos2d-console/pull/94