fixed #3334 faied to build Cocostudio mac version.