Don't use DIR constant in libs loader.