Added checking x-clipboard support.