Ubuntu 3.2 wip

Ongoing work on Ubuntu support. Let's review, test that CentOS is not broken by this, and merge.