Added implementation for solaris