Run tmux OS X hack only on OS X.