added support for illumos