sha512-x86_64.pl: fix linking problem under Windows.
Fix RT 3193