Linux port: added libX11 to linked libraries.

Otherwise build fails on linux.
Merge pull request #2641 from sergey-shambir/fix_linux_linkage

Linux port: added libX11 to linked libraries.