Get libdir from multilib, fix digests