Reduce LOC in Makefiles by creating shared Makefile.common