Fix syntax warning
Simplifying X11 detection using pymol._ext_gui