added compatibility with Debian testing