Ensure lib-prefix in static MinGW build. Closes #223.
Merge remote-tracking branch 'upstream/master'