Pack into an Lvm library

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>