Fixed unix compilation