Adapt to UNIX