deal with win64 compiler quirk