Workaround for solaris