Smart uc: fixes for Ubuntu 12.04.1, 64-bit

- fix library isses with quagga
- install quagga in the guest image
- install the modified guest image
Also includes some small changes to speed up the build process.