Fix iOS crosscompilation issues on Windows.