Update gifsicle and make X11 dependency optional