Generalize the tmux version logic.

This code should never have been where it was. I was lazy in reviewing #144 which did not appropriately scope the version check to tmux. This fixes #148.