Fixing region parsing bug on Windows.