Fixed building in Xcode 4.6