fix the return value for the provided unsetenv() for Solaris