Fix compilation on unix.