Set G_LOG_DOMAIN as in Makefile.am.