xx
host: also link with libX11
Some cleanups