diff --git a/patches/cl-static-library.patch b/patches/cl-static-library.patch
index 4fe204be48e13887d4eaf9b7cf64e33998f57dbc..12ac5bc58b37a8ff69451fa7a52a1623418a8d27 100644
--- a/patches/cl-static-library.patch
+++ b/patches/cl-static-library.patch
@@ -1,6 +1,6 @@
 --- ../orig/crypt32.vcxproj	2019-01-31 03:34:12.000000000 -0500
 +++ crypt32.vcxproj	2022-02-27 14:30:15.454574000 -0500
-@@ -32,26 +32,26 @@
+@@ -32,27 +32,27 @@
    </PropertyGroup>
    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
@@ -8,14 +8,16 @@
 +    <ConfigurationType>StaticLibrary</ConfigurationType>
      <UseDebugLibraries>true</UseDebugLibraries>
      <CharacterSet>NotSet</CharacterSet>
-     <PlatformToolset>v140</PlatformToolset>
+-    <PlatformToolset>v140</PlatformToolset>
++    <PlatformToolset>v143</PlatformToolset>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
 -    <ConfigurationType>DynamicLibrary</ConfigurationType>
 +    <ConfigurationType>StaticLibrary</ConfigurationType>
      <UseDebugLibraries>true</UseDebugLibraries>
      <CharacterSet>NotSet</CharacterSet>
-     <PlatformToolset>v140</PlatformToolset>
+-    <PlatformToolset>v140</PlatformToolset>
++    <PlatformToolset>v143</PlatformToolset>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
 -    <ConfigurationType>DynamicLibrary</ConfigurationType>
@@ -23,7 +25,8 @@
      <UseDebugLibraries>false</UseDebugLibraries>
      <WholeProgramOptimization>true</WholeProgramOptimization>
      <CharacterSet>NotSet</CharacterSet>
-     <PlatformToolset>v140</PlatformToolset>
+-    <PlatformToolset>v140</PlatformToolset>
++    <PlatformToolset>v143</PlatformToolset>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
 -    <ConfigurationType>DynamicLibrary</ConfigurationType>
@@ -31,3 +34,5 @@
      <UseDebugLibraries>false</UseDebugLibraries>
      <WholeProgramOptimization>true</WholeProgramOptimization>
      <CharacterSet>NotSet</CharacterSet>
+-    <PlatformToolset>v140</PlatformToolset>
++    <PlatformToolset>v143</PlatformToolset>
diff --git a/patches/cl-windowsbuildfix.patch b/patches/cl-windowsbuildfix.patch
index cb534c9a8d61a255e90169ab18e541411ff42d5b..37ef476293ac5131237e7feb3c5e99eba8044183 100644
--- a/patches/cl-windowsbuildfix.patch
+++ b/patches/cl-windowsbuildfix.patch
@@ -1,37 +1,5 @@
 --- crypt32.vcxproj.orig	2022-02-25 04:07:11.835347000 -0500
 +++ crypt32.vcxproj	2022-02-25 04:07:36.519348000 -0500
-@@ -35,27 +35,27 @@
-     <ConfigurationType>DynamicLibrary</ConfigurationType>
-     <UseDebugLibraries>true</UseDebugLibraries>
-     <CharacterSet>NotSet</CharacterSet>
--    <PlatformToolset>v140</PlatformToolset>
-+    <PlatformToolset>v143</PlatformToolset>
-   </PropertyGroup>
-   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
-     <ConfigurationType>DynamicLibrary</ConfigurationType>
-     <UseDebugLibraries>true</UseDebugLibraries>
-     <CharacterSet>NotSet</CharacterSet>
--    <PlatformToolset>v140</PlatformToolset>
-+    <PlatformToolset>v143</PlatformToolset>
-   </PropertyGroup>
-   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
-     <ConfigurationType>DynamicLibrary</ConfigurationType>
-     <UseDebugLibraries>false</UseDebugLibraries>
-     <WholeProgramOptimization>true</WholeProgramOptimization>
-     <CharacterSet>NotSet</CharacterSet>
--    <PlatformToolset>v140</PlatformToolset>
-+    <PlatformToolset>v143</PlatformToolset>
-   </PropertyGroup>
-   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
-     <ConfigurationType>DynamicLibrary</ConfigurationType>
-     <UseDebugLibraries>false</UseDebugLibraries>
-     <WholeProgramOptimization>true</WholeProgramOptimization>
-     <CharacterSet>NotSet</CharacterSet>
--    <PlatformToolset>v140</PlatformToolset>
-+    <PlatformToolset>v143</PlatformToolset>
-   </PropertyGroup>
-   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
-   <ImportGroup Label="ExtensionSettings">
 @@ -401,9 +401,6 @@
      <ClCompile Include="envelope\res_env.c" />
      <ClCompile Include="io\dns.c" />