Use darwin check when deciding whether to require exec-path-from-shell.