fix build against iOSSDK >= 6)