build with mingw64, output dll and lib together, move dll to build/bin and lib to build/lib.