[packaging] make X11 a build conditional