terminal.IsTerminal() is not available on FreeBSD until go1.3