update Makefile

- Better support for building Debian package.
- Fix bash completion for systems that have dash as default shell.