[PATCH v3] Do not depend on some non-POSIX features.