anchor.diff:     
      cecho {0D}Extracting Google Protobuf 2.4.1 sources to "%DEPS%\protobuf".{# #}{\n}
      7za x -y protobuf-2.4.1.zip
  -   IF NOT %ERRORLEVEL%==0 GOTO :ERROR
  +   REM IF NOT %ERRORLEVEL%==0 GOTO :ERROR
      ren protobuf-2.4.1 protobuf
      IF NOT EXIST "%DEPS%\protobuf". (
         cecho {0E}Failed to rename %DEPS%\protobuf-2.4.1 to %DEPS%\protobuf. Permission denied for your account?{# #}{\n}
  
positive.code: )
  
  IF NOT EXIST "%DEPS%\zlib". (
     CD "%DEPS%"
     cecho {0D}Extracting zlib 1.2.8 package to "%DEPS%\zlib"{# #}{\n}
     mkdir zlib
     7za e -y zlib-1.2.8.tar.gz
     7za x -y -ozlib zlib-1.2.8.tar
     del /Q zlib-1.2.8.tar
     cecho {0D}Building zlib 1.2.8{# #}{\n}
     cd zlib
     mkdir lib
     mkdir lib\Release
     mkdir lib\Debug
     mkdir include
     cd zlib-1.2.8
     IF NOT %ERRORLEVEL%==0 GOTO :ERROR
  
     cd contrib\masmx86
     call bld_ml32.bat
  
     cd ..\..
     cd contrib\vstudio\%VC_VER%
  
     MSBuild zlibvc.sln /p:configuration="Release" /p:Platform="Win32" /nologo /m:%NUMBER_OF_PROCESSORS%
     MSBuild zlibvc.sln /p:configuration="Debug" /p:Platform="Win32" /nologo /m:%NUMBER_OF_PROCESSORS%
  
     REM IF NOT %ERRORLEVEL%==0 GOTO :ERROR
  
     cd ..\..\..
     copy /Y contrib\vstudio\%VC_VER%\x86\ZlibStatRelease\zlibstat.lib ..\lib\Release
     copy /Y contrib\vstudio\%VC_VER%\x86\ZlibStatDebug\zlibstat.lib ..\lib\Debug
     copy /Y *.h ..\include\
  ) ELSE (
     cecho {0D}zlib 1.2.8 already built. Skipping.{# #}{\n}
  )
  
  :: ZZIPLIB
  IF NOT EXIST "%DEPS%\zziplib-0.13.59.tar.bz2". (
    CD "%DEPS%"
    rmdir /S /Q "%DEPS%\zziplib"
    cecho {0D}Downloading zziplib 0.13.59{# #}{\n}
    wget http://sourceforge.net/projects/zziplib/files/zziplib13/0.13.59/zziplib-0.13.59.tar.bz2/download
    IF NOT EXIST "%DEPS%\zlib-1.2.8.tar.gz". GOTO :ERROR
  ) ELSE (
     cecho {0D}zziplib 0.13.59 already downloaded. Skipping.{# #}{\n}
  )
  
  IF NOT EXIST "%DEPS%\zziplib". (
     CD "%DEPS%"
     cecho {0D}Extracting zziplib 0.13.59 package to "%DEPS%\zziplib"{# #}{\n}
     mkdir zziplib
     7za e -y zziplib-0.13.59.tar.bz2
     7za x -y -ozziplib zziplib-0.13.59.tar
     del /Q zziplib-0.13.59.tar
     cd zziplib
     mkdir lib
     mkdir include\zzip
     cd zziplib-0.13.59\msvc8
  
negative.code:     cd "%DEPS%\protobuf\vsprojects"
      IF %GENERATOR%==%GENERATOR_VS2008% (
          :: Upgrade the VS2005 files to VS2008
          :: TODO 64-bit VS2008 not yet possible on VS2008!
          cecho {0D}Upgrading Google Protobuf project files.{# #}{\n}
          vcbuild /c /upgrade libprotobuf.vcproj $ALL
          vcbuild /c /upgrade libprotoc.vcproj Release
  