Adapting to Debian/Ubuntu lack of backward-compatibility