osx install sets the terminal window to the foreground