XXX do this in a way that will let static link of Xserver easier when the rest of the framework supports it