I'm compiling Qt 4.3.2 in vista with the following bat file running as administrator

Qt Code:
  1. set MINGWROOT=C:\Dev\Qt\MinGW
  2. set MINGWBIN=%MINGWROOT%\bin
  3. set MINGWINCLUDE=%MINGWROOT%\include
  4. set MINGWLIB=%MINGWROOT%\lib
  5. set MINGWLIBEXEC=%MINGWROOT%\libexec\gcc\mingw32\3.4.2
  6. set MINGWBIN2=%MINGWROOT%\mingw32\bin
  7. set MINGWLIB2=%MINGWROOT%\mingw32\lib\ldscripts
  8. set MINGW=%MINGWROOT%;%MINGWBIN%;%MINGWINCLUDE%;%MINGWLIB%;%MINGWLIBEXEC%;%MINGWLIB2%;%MINGWLIB2%
  9.  
  10. set QTDIR=C:\Dev\Qt\4.3.2
  11. set PATH=%MINGW%;C:\Dev\Qt\4.3.2\bin
  12. set PATH=%PATH%;C:\Dev\Qt\MinGW\bin
  13. set PATH=%PATH%;%SystemRoot%\System32
  14. set QMAKESPEC=win32-g++
  15.  
  16. path
  17.  
  18. if not "%1"=="compile_debug" goto END
  19. cd %QTDIR%
  20. echo This will configure and compile qt in debug.
  21. echo The release libraries will not be recompiled.
  22. pause
  23. configure -plugin-sql-sqlite -plugin-sql-odbc -qt-libpng -qt-libjpeg -qt-gif
  24. cd %QTDIR%\src
  25. qmake
  26. mingw32-make debug
To copy to clipboard, switch view to plain text mode 

I get those includes errors:

Qt Code:
  1. In file included from ..\..\3rdparty\zlib\crc32.c:29:
  2. ..\..\3rdparty\zlib\/zutil.h:21:24: stddef.h: No such file or directory
  3. ..\..\3rdparty\zlib\/zutil.h:23:22: string.h: No such file or directory
  4. ..\..\3rdparty\zlib\/zutil.h:24:22: stdlib.h: No such file or directory
  5. ..\..\3rdparty\zlib\/zutil.h:38:23: errno.h: No such file or directory
  6. ..\..\3rdparty\zlib\crc32.c:36:24: limits.h: No such file or directory
  7. mingw32-make[2]: *** [tmp\obj\release_shared\crc32.o] Error 1
  8. mingw32-make[2]: Leaving directory `C:/Dev/Qt/4.3.2/src/tools/rcc'
  9. mingw32-make[1]: *** [release] Error 2
  10. mingw32-make[1]: Leaving directory `C:/Dev/Qt/4.3.2/src/tools/rcc'
  11. mingw32-make: *** [debug-C__Qt_4_3_2_src_tools_rcc] Error 2
To copy to clipboard, switch view to plain text mode 

I've seen other people having the same issues, so I updated the Mingw runtime, but it doesn't seem to fix anything.

Any idea?