adds condition to only use pbcopy/paste on OS X