fix ios building issue