Fixed compile error because of the new Xcode.