fix syntax for Solaris