fix for compiling in Xcode 5