[[ Bugfix 10676 ]] Only link to libX11 at run-time
Merge pull request #927 from runrev/bugfix-10676

[[ Bugfix 10676 ]] Only link to libX11 at run-time