* add switch for libtiff * add macro * revert cocos2dx-files.json * add more macro * update default value * update external/config.json