Add support for Ubuntu 12.04 LTS and Debian 6