Build import library for mingw

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