Fix iOS crosscompiler crash on Windows when --debug is specified.