Implement clipboard support on Mac using pbcopy and pbpaste
Make xargs syntax used by `make test` compatible with OS X

Use -n instead of -l to specify the maximum number of
args passed to each invocation of xargs.