Fixed ::dlerror() thread safety bug.