Apply workarounds for two Apple bugs

These are issues with Xcode 6b1 and the iOS 8 SDK first seed.