more solaris flag fixing