-bsvr4 in the linker seems to make it saner