Is the X11 dependency only needed for the GUI too?