Fix reporting of dlerror messages