Solaris portability tweaks.

As a follow-up to issue #2942 here's a patch that fixes a few things on Solaris.
* Enable colored man
* Fix an error from check_for_upgrade.sh (_current_epoch:8: bad math expression: operand expected at `%s / 60 / ...')
* Enable kill command completion