Fixed not compiling on iOS 7 SDK and under