Fixes #5341: correctly detect timezone on windows

if you want, but the file is riddled with cf2_if_else.