support AIX4 and OSF1 as well as SunOS 4