Fixed a compile error in older versions of Xcode