[PATCH] Do not depend on non-POSIX features