Factor program name out of makefiles