unify static and dynamic libc init/fini code paths