Fix undefined reference to `GDK_IS_X11_DISPLAY'