Switch to thread safe library.