Fix issues with tmux and OS X