add iterm support of macos