Adds X11 dependency. Fixes issue 589