makefile: support for redhat & debian