modify the common/Makefile