Fix POSIX compliance.