Add dependencies for LVM.

Also moved dependencies down so we can cache more when creating the image.