fix wmake errorlevel for unix hosts