support of iOS 5 compilation