Run nbmanager in terminal if on osx and not tty