Wipe out library exit calls

Meant to fix the shlib-calls-exit issue as revealed by Lintian [1]:
the corrected code is believed to be in fact old forgotten relic code.

[1] https://lintian.debian.org/tags/shlib-calls-exit.html