fix unix compilation part 2