anchor.diff:  	ECHO | SET /P=Configuring libuv ... 
   	REM Modify the libuv build script to ensure proper Visual Studio detection
   	SET LIBUV_VCBUILD_SCRIPT=vcbuild.bat
  -	IF "%~5" == "!FALSE!" (
  +	IF "!LIBUV_IS_WINDOWS_SDK_BUILD!" == "!FALSE!" (
   		SET LIBUV_VCBUILD_SCRIPT=vcbuild-modified.bat
   		TYPE vcbuild.bat | FINDSTR /V /C:"if defined WindowsSDKDir goto select-target" | FINDSTR /V /C:"if defined VCINSTALLDIR goto select-target" > !LIBUV_VCBUILD_SCRIPT!
   	)
  -	ECHO !LIBUV_VCBUILD_SCRIPT! release nobuild !LIBUV_TARGET_ARCHITECTURE! !LIBUV_LIBRARY_TYPE! >> "%~7"
  -	CALL !LIBUV_VCBUILD_SCRIPT! release nobuild !LIBUV_TARGET_ARCHITECTURE! !LIBUV_LIBRARY_TYPE! >> "%~7" 2>&1
  -	IF NOT !ERRORLEVEL! EQU 0 (
  -		ECHO FAILED!
  -		ECHO 	See %~7 for more details
  +	ECHO !LIBUV_VCBUILD_SCRIPT! release nobuild !LIBUV_TARGET_ARCHITECTURE! !LIBUV_LIBRARY_TYPE! >> "!LIBUV_LOG_FILENAME!"
  +	CALL !LIBUV_VCBUILD_SCRIPT! release nobuild !LIBUV_TARGET_ARCHITECTURE! !LIBUV_LIBRARY_TYPE! >> "!LIBUV_LOG_FILENAME!" 2>&1
  +	IF NOT !ERRORLEVEL! EQU 0 (
  +		ECHO FAILED!
  +		ECHO 	See !LIBUV_LOG_FILENAME! for more details
   		EXIT /B !EXIT_CODE_BUILD_DEPENDENCY_FAILED!
   	)
   	ECHO done.
   	ECHO | SET /P=Building libuv ... 
  -	ECHO !MSBUILD! uv.sln /T:libuv /P:Configuration=Release /P:Platform=!LIBUV_VC_TARGET_ARCHITECTURE! /CLP:NoSummary;NoItemAndPropertyList;Verbosity=minimal /NOLOGO >> "%~7"
  -	!MSBUILD! uv.sln /T:libuv /P:Configuration=Release /P:Platform=!LIBUV_VC_TARGET_ARCHITECTURE! /CLP:NoSummary;NoItemAndPropertyList;Verbosity=minimal /NOLOGO >> "%~7" 2>&1
  -	IF NOT !ERRORLEVEL! EQU 0 (
  -		ECHO FAILED!
  -		ECHO 	See %~7 for more details
  +	ECHO !MSBUILD! uv.sln /T:libuv /P:Configuration=Release /P:Platform=!LIBUV_VC_TARGET_ARCHITECTURE! /CLP:NoSummary;NoItemAndPropertyList;Verbosity=minimal /NOLOGO >> "!LIBUV_LOG_FILENAME!"
  +	!MSBUILD! uv.sln /T:libuv /P:Configuration=Release /P:Platform=!LIBUV_VC_TARGET_ARCHITECTURE! /CLP:NoSummary;NoItemAndPropertyList;Verbosity=minimal /NOLOGO >> "!LIBUV_LOG_FILENAME!" 2>&1
  +	IF NOT !ERRORLEVEL! EQU 0 (
  +		ECHO FAILED!
  +		ECHO 	See !LIBUV_LOG_FILENAME! for more details
   		EXIT /B !EXIT_CODE_BUILD_DEPENDENCY_FAILED!
   	)
   	ECHO done.
   	ECHO | SET /P=Installing libuv ...
  -	MKDIR "%~2\!LIBRARY_INCLUDE_DIRECTORY!"
  -	IF NOT !ERRORLEVEL! EQU 0 (
  -		ECHO FAILED!
  -		ECHO 	See %~7 for more details
  +	MKDIR "!LIBUV_INSTALL_DIRECTORY!\!LIBRARY_INCLUDE_DIRECTORY!"
  +	IF NOT !ERRORLEVEL! EQU 0 (
  +		ECHO FAILED!
  +		ECHO 	See !LIBUV_LOG_FILENAME! for more details
   		EXIT /B !EXIT_CODE_BUILD_DEPENDENCY_FAILED!
   	)
  -	XCOPY /E /Y include "%~2\!LIBRARY_INCLUDE_DIRECTORY!" >> "%~7" 2>&1
  -	IF NOT !ERRORLEVEL! EQU 0 (
  -		ECHO FAILED!
  -		ECHO 	See %~7 for more details
  +	XCOPY /E /Y include "!LIBUV_INSTALL_DIRECTORY!\!LIBRARY_INCLUDE_DIRECTORY!" >> "!LIBUV_LOG_FILENAME!" 2>&1
  +	IF NOT !ERRORLEVEL! EQU 0 (
  +		ECHO FAILED!
  +		ECHO 	See !LIBUV_LOG_FILENAME! for more details
   		EXIT /B !EXIT_CODE_BUILD_DEPENDENCY_FAILED!
   	)
  -	MKDIR "%~2\!LIBRARY_BINARY_DIRECTORY!"
  -	IF NOT !ERRORLEVEL! EQU 0 (
  -		ECHO FAILED!
  -		ECHO 	See %~7 for more details
  +	MKDIR "!LIBUV_INSTALL_DIRECTORY!\!LIBRARY_BINARY_DIRECTORY!"
  +	IF NOT !ERRORLEVEL! EQU 0 (
  +		ECHO FAILED!
  +		ECHO 	See !LIBUV_LOG_FILENAME! for more details
   		EXIT /B !EXIT_CODE_BUILD_DEPENDENCY_FAILED!
   	)
  -	XCOPY /E /Y Release\lib "%~2\!LIBRARY_BINARY_DIRECTORY!" >> "%~7" 2>&1
  +	XCOPY /E /Y Release\lib "!LIBUV_INSTALL_DIRECTORY!\!LIBRARY_BINARY_DIRECTORY!" >> "!LIBUV_LOG_FILENAME!" 2>&1
   	IF NOT !ERRORLEVEL! EQU 0 (
   		REM Try again in the other location libuv likes to put files
  -		XCOPY /Y Release\*.* "%~2\!LIBRARY_BINARY_DIRECTORY!" >> "%~7" 2>&1
  +		XCOPY /Y Release\*.* "!LIBUV_INSTALL_DIRECTORY!\!LIBRARY_BINARY_DIRECTORY!" >> "!LIBUV_LOG_FILENAME!" 2>&1
   		IF NOT !ERRORLEVEL! EQU 0 (
   			ECHO FAILED!
  -			ECHO 	See %~7 for more details
  +			ECHO 	See !LIBUV_LOG_FILENAME! for more details
   			EXIT /B !EXIT_CODE_BUILD_DEPENDENCY_FAILED!
   		)
   	)
   	ECHO done.
  -	IF "%~6" == "!TRUE!" (
  +	IF "!LIBUV_IS_CLEAN_AFTER_INSTALL!" == "!TRUE!" (
   		ECHO | SET /P=Cleaning libuv build ... 
  -		ECHO !MSBUILD! uv.sln /T:Clean /P:Configuration=Release /P:Platform=!LIBUV_VC_TARGET_ARCHITECTURE! /CLP:NoSummary;NoItemAndPropertyList;Verbosity=minimal /NOLOGO >> "%~7"
  -		!MSBUILD! uv.sln /T:Clean /P:Configuration=Release /P:Platform=!LIBUV_VC_TARGET_ARCHITECTURE! /CLP:NoSummary;NoItemAndPropertyList;Verbosity=minimal /NOLOGO >> "%~7" 2>&1
  -		IF EXIST Release RMDIR /S /Q Release >> "%~7" 2>&1
  +		ECHO !MSBUILD! uv.sln /T:Clean /P:Configuration=Release /P:Platform=!LIBUV_VC_TARGET_ARCHITECTURE! /CLP:NoSummary;NoItemAndPropertyList;Verbosity=minimal /NOLOGO >> "!LIBUV_LOG_FILENAME!"
  +		!MSBUILD! uv.sln /T:Clean /P:Configuration=Release /P:Platform=!LIBUV_VC_TARGET_ARCHITECTURE! /CLP:NoSummary;NoItemAndPropertyList;Verbosity=minimal /NOLOGO >> "!LIBUV_LOG_FILENAME!" 2>&1
  +		IF EXIST Release RMDIR /S /Q Release >> "!LIBUV_LOG_FILENAME!" 2>&1
   		ECHO done.
   	)
   	POPD
  
positive.code: IF !ENABLE_LIBSSH2! EQU !TRUE! (
  	REM Clone libssh2
  	IF NOT EXIST "!DEPENDENCIES_SOURCE_DIRECTORY!\!LIBSSH2_DIRECTORY!" (
  		ECHO | SET /P=Cloning libssh2 ... 
  		!GIT! clone !LIBSSH2_REPOSITORY_URL! "!DEPENDENCIES_SOURCE_DIRECTORY!\!LIBSSH2_DIRECTORY!" > !LOG_LIBSSH2_BUILD! 2>&1
  		IF !ERRORLEVEL! EQU 0 (
  			ECHO done.
  		) ELSE (
  
negative.code: 
  REM Clone libuv and checkout the appropriate tag
  IF NOT EXIST "!DEPENDENCIES_SOURCE_DIRECTORY!\!LIBUV_DIRECTORY!" (
  	ECHO Cloning libuv !LIBUV_BRANCH_TAG_VERSION! > "!LOG_LIBUV_BUILD!"
  	ECHO | SET /P=Cloning libuv !LIBUV_BRANCH_TAG_VERSION! ... 
  	!GIT! clone --depth 1 --branch !LIBUV_BRANCH_TAG_VERSION! --single-branch !LIBUV_REPOSITORY_URL! "!DEPENDENCIES_SOURCE_DIRECTORY!\!LIBUV_DIRECTORY!" >> "!LOG_LIBUV_BUILD!" 2>&1
  	IF !ERRORLEVEL! EQU 0 (
  		ECHO done.
  		REM Clone GYP (libuv dependency) to correctly use googlesource URL
  		ECHO. >> "!LOG_LIBUV_BUILD!"
  		ECHO Cloning gyp >> "!LOG_LIBUV_BUILD!"
  		ECHO | SET /P=Cloning gyp ... 
  		!GIT! clone --depth 1 --single-branch !GYP_REPOSITORY_URL! "!DEPENDENCIES_SOURCE_DIRECTORY!\!LIBUV_DIRECTORY!\build\gyp" >> "!LOG_LIBUV_BUILD!" 2>&1
  		IF !ERRORLEVEL! EQU 0 (
  			ECHO done.
  		) ELSE (
  			ECHO FAILED!
  			ECHO 	See !LOG_LIBUV_BUILD! for more details
  			EXIT /B !EXIT_CODE_CLONE_FAILED!
  		)
  	) ELSE (
  		ECHO FAILED!
  		ECHO 	See !LOG_LIBUV_BUILD! for more details
  