install tmux version >= 1.8

the copy functions for tmux on mac osx depend on the `copy-pipe` function to be available. That function was implemented in tmux version 1.8. This code ensures that tmux version >= 1.8 is installed. The previous code only checked if any tmux version was installed.