Fix ListModeBase on Windows