enable this program to be compilable on non Solaris machines