Fixed (hopefully) errorlevel issue on windows.