Fix SHLIB_MAJOR to match xorg and fix linking against libxcb-sync which
broke kwin for me.