Fixes build for Xcode6 beta5.