modules: Add missing include.

614c61a3dd19eacb00149f094aca930d30c333b0 removed the #include <glib.h>,
which is needed for the #ifdef G_OS_WIN32 to work.