Check if tmux works before execing it.