adding os support for sunos/bsd/linux