recent-view: Fix build when libgnome-desktop is not available