perl: install all libs into the same path
update cpan packages to do a proper install

the usage of explicit prefix, etc caused the install of arch-dependant
stuff to go into an arch-specific subdirs, which doesn't exist on our
installation.
write-hd-image: do not use bc for calculation, bourne is enough
write-hd-image: fail when losetup doesnt support --sizelimit