Fix Windows build error relating to keymapping.