add glib version check around gdk_get_n_screens()