Fixes TimeZoneInfo.Local on Windows

Fixes bug #11817. There is a problem with the build where Linux code is
compiled for the Windows build due to the LIBC flag being set.