Fix MSYS2 / MinGW build
- Fix
WIN32
to_WIN32
, the official macro - Pass
-ldl
only for non-Windows platforms- dl{open,close} is unavailable on Windows and thereby MinGW
Edited by Sundaram Ramaswamy
WIN32
to _WIN32
, the official macro
-ldl
only for non-Windows platforms