fixed iOS 8.1 SDK / Xcode 6.1 build error