removed xlib dependencies