Fix compatibility with Xcode 6 beta

Fixes #82