fixup compilation on solaris

Need CI for this :-/