Ups the version of Cocos2D to 3.1.1 and fixes printing of version number