iOS: fix compiling error under xcode 5.1