ios build system fixes
[skip ci]