fix ios platform build