In `detect_nsis_overwrite.cpp` we include windows.h first, and we must preserve that. Place the include in an isolated block so that tools that sort includes do not move it.
@@ -1,4 +1,5 @@
#include <windows.h>
+
#include <msi.h>
#include <msiquery.h>