Build import libs as .dll.a instead of .lib

This is MinGW convention.