Fix an issue with keys in the Win32 build.