[SWF] Allow to compile without X11 installed (Xamarin-59496)