switch to Makefile paradigm for wider support on other distros