windows: Link gcc helpers statically on MinGW

Fixes #1049

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
3 files changed