Revert "modules: Fix build on Visual Studio"
This reverts commit acd9c126.
This commit breaks the build with GLib main, we now get complaints about _GLIB_EXTERN being redefined.
Maybe it is not needed anymore anyway, since export macros have seen Window-related fixes.