Fixes build for BaseSDK iOS7