Fixed iOS 7 compiling issue.