fixes for new solaris