Improved support for TimeZoneInfo under windows.

When cross compiling with gcc, LIBC is defined and
thus never checks the registry for the timezone information.

This change is released under the MIT license.
Merge pull request #1410 from alesliehughes/master

Improved support for TimeZoneInfo under windows.