Fixed a line that wasn't supported by certain cocos2d-x versions.