We don't define any dummy DllMain() any more so no need to include <windows.h>. That was necessary just to get the types used by the DllMain() prototype.
It caused compilation errors even thanks to our workarounds for BOOL clashes.