Follow-up fix to b436156f5 because BOOL and DWORD are not built-in to mingw64.
b436156f5
"Undefined symbols are not allowed in x86_64-w64-mingw32 shared libraries" This was also applied in the official MINGW-packages repo: Alexpux/MINGW-packages@b5566c58a