added libX11 to link