fix ios build error