Fixes #5055: Fix a LMDB linking issue in the configure stage of rudder-a...

...gent