Fix tcsetpgrp on OSX
Merge pull request #83 from dougm/darwin-tcsetpgrp

Fix tcsetpgrp on OSX