Fix compile errors from Cocos2D-XNA refactor