Fix for build with Xcode 6.0.1