fix broken makefiles