Add support for dual GTK+Qt build.