Make linking of 'gmodule-export-2.0' platform specific

Windows does not require this module, instead, it uses the
G_MODULE_EXPORT macro.