fix: pkg: BSD sed compatibility layer for ``autogen.sh``.
fix: pkg: avoid looping whenever ``autogen.sh`` fails to modify ``setup.py``.