We can only include win32 APIs when building for Windows because gtkdoc needs to compile the GObject classes for introspection.