Makefile improvements for package managers