fix x11 build and stuff