Fix compilation on Xcode 6 beta 6.