Add G_MODULE_EXPORT macro to callback functions for Windows support