Use G_OS_WIN32, the glib-proper way to check for WIN32.