fix ordering of shared library ctors with respect to libc init