Updated to work on Linux.

Wrapped operating system specific configuration with appropriate guards,
removed clipboard encoding configuration.