fix ios build