If posix_isatty function doesnot exists . Fixes #35
Merge pull request #36 from harikt/issue-35

If posix_isatty function doesnot exists . Fixes #35