direct linkage against dlls on windows/mingw