Linux port: added libX11 to linked libraries.

Otherwise build fails on linux.