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