mingw32: call lib.exe instead of lib to facilitate running it through wine.