Fix compile issues for Android.
Merge branch 'metal-hacking' of github.com:cocos2d/cocos2d-iphone into metal-hacking