Fix some compile errors due to changes to the Cocos2D-XNA API.