meta: remove bucket from bucket-directory indexes using metadata session
cmake: tests should properly export library path