Better `exec()` detection. Avoids esky build `NameError`.