Fix `exec` compatibility.