Fix iOS AOT crosscompiler issues on Windows