X11, cairo bindings fixes

Fixed X11 xlib, cairo bindings, added pkg-config support