Editor/sfmlwidget: Fix build on X11