reorganize the __libc structure for threaded performance issues