remove xlib dependency