Remove dependency on unix/posix library.