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

This is MinGW convention.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>