Cygwin strptime() include fix
Unref fix for Win32 build