make it work on both Debian versions and other versions