Add AM_CPPFLAGS to common/Makefile.am