use compiler DLLs instead of using static linkage for MinGW