More backward compatibility for RH5 and atomic CLOEXEC.