Changes needed on wheezy

Heres the patch that I've used to make master work on wheezy. This works with your current precise64 basebox.