Make the dynamic linker thread-safe.