Refs #3316: Enhanced solaris compatibility (worked on all used packages except rudder-server-root)