Add some paper size fallback code if GTK+ cannot be loaded.