Hacked typescript compiler for cocos2d-js native runtime.