Converted xcb XRandR code to use xlib, removed dependency on xcb.