replace vendor redis code with win-32 version