Fixed library path in daemon