anchor.diff:  :# Find New-style Windows Kits
   :FindWkIn %1=Base directory to search in
   %ECHO.D% :# Searching in "%~1"
  -for /d %%l in ("%~1\Lib" "%~1\Lib\*") do if exist "%%~l\um\!WINSDKPROC!\kernel32.lib" (
  +set "WINSDK_LIB="
  +:# Search for the latest Windows kit, as multiple builds may be installed in parallel
  +for /d %%l in ("%~1\Lib" "%~1\Lib\*") do if exist "%%~l\um\!WINSDKPROC!\kernel32.lib" set "WINSDK_LIB=%%l"
  +if defined WINSDK_LIB for %%l in ("%WINSDK_LIB%") do (
     %ECHO.D% :# Found
     set "WINSDK=%~1"
  +  set "WINSDK_VER=%%~nxl"
     set "WINSDK_LIBDIR=%%~l\um\!WINSDKPROC!"
     set "WINSDK_BIN=!WINSDK!\Bin\!WINSDKPROC!"
     set "WINSDK_INCDIR="
     set "WINSDK_INCLUDE="
  -  for /d %%d in ("!WINSDK!\Include" "!WINSDK!\Include\*") do ( :# Pre-release kits have an additional subdir level
  +  for /d %%d in ("!WINSDK!\Include" "!WINSDK!\Include\!WINSDK_VER!") do ( :# Pre-release kits have an additional subdir level
       if exist "%%~d\um\windows.h" (
         set "WINSDK_INCDIR=%%~d"
         for %%s in (ucrt shared um winrt) do (
  
positive.code: if exist "!SUBDIR!\kernel32.lib" (
    %ECHO.D% :# Found
    set "WINSDK=%~1"
    set "WINSDK_BIN=!SUBDIR:\Lib=\Bin!"
    set "WINSDK_INCDIR=!WINSDK!\Include"
    set "WINSDK_INCLUDE=!WINSDK_INCDIR!"
  
negative.code:     set TRYDIRS=!TRYDIRS! "%WINSDK%\Bin%"
    )
    set TRYDIRS=!TRYDIRS! "!%VS%.TOOLS:;=" "!" &rem :# Old PlatformSDKs have SDK tools there
    if not defined %VC%.CRTINC for %%d in ("!WINSDK_INCLUDE:;=" "!") do if not defined %VC%.CRTINC if not "%%~d"=="" (
      if exist "%%~d\stdio.h" set "%VC%.CRTINC=%%~d" %# Path of MSVC CRT library include files, for use by MsvcLibX #%
      :# Also check for the corresponding CRT libraries
      set "WINSDK_LIBBASE=!WINSDK!\Lib"
      if defined WINSDK_VER set "WINSDK_LIBBASE=!WINSDK_LIBBASE!\!WINSDK_VER!"
      for /d %%l in ("!WINSDK_LIBBASE!") do if exist "%%~l\ucrt\!WINSDKPROC!\*crt*.lib" (
        set "%VC%.LIBPATH=!%VC%.LIBPATH!;%%~l\ucrt\!WINSDKPROC!"
      )
    )
  