Fix clipboard configuration to be portable between Mac and Linux