Add -mwindows linker flag for MinGW client.