The way LIBR is used in the makefiles is not generic, specifically, we have occurrences of "$(LIBR) r". Fix.