Improve tmux version checking