diff --git a/DownloadBoost.cmake b/DownloadBoost.cmake
index 97b448bf392731bcae25d5b3a86e1c9443cb9c6b..18f2176026f617d2267029a59b8806d7d7c4d5b5 100644
--- a/DownloadBoost.cmake
+++ b/DownloadBoost.cmake
@@ -12,7 +12,6 @@ if(WIN32)
     set(WINAPI_BOOST_LIB libs/winapi)
 endif()
 
-endif ()
 FetchContent_Declare(
     boost
     SOURCE_DIR ${BOOST_LOCAL_PATH}
diff --git a/clean.bat b/clean.bat
index 8911841786473ee6a3ff50e447352d0a9d3323cc..44aedeff01368a7b5cc987414eb49e6ad4325fc6 100644
--- a/clean.bat
+++ b/clean.bat
@@ -18,5 +18,5 @@ rmdir /s /q CMakeFiles 2>NUL
 rmdir /s /q src/CMakeFiles 2>NUL
 rmdir /s /q src/examples/CMakeFiles 2>NUL
 rmdir /s /q src/tests/CMakeFiles 2>NUL
-rmdir /s /q external_dependencies/* 2>NUL
+rmdir /s /q external_dependencies 2>NUL
 rmdir /s /q _deps