Fixes compilation error in Xcode 6.1