This should be optional as otherwise it depends on X11.