RHEL 5: Replacement for 'Unix.isatty stdout' for old OCaml versions.

Unix.isatty missing on RHEL 5-era OCaml 3.09.3.