Autodetect debian vs. redhat in make-package.sh