fix compile error on android.
Merge pull request #7995 from Dhilan007/v3

fix compile error on android.
Fixes cmakefile for mac
Merge pull request #7997 from ricardoquesada/fixes_cmakefile_for_mac

Fixes cmakefile for mac
Fixes Xcode 6 warnings
Merge pull request #7998 from ricardoquesada/xcode_6_compatible

Fixes Xcode 6 warnings
Project Name is Cocos2d-X not Cocos2dX
Merge pull request #7999 from ricardoquesada/cmake_project_name

Project Name is Cocos2d-X not Cocos2dX