Fixed iOS compiler error.