fix the provided unsetenv for solaris to return an int like it's supposed to