moved iterm detection out of os detection