Remove obsolete directories from AM_CPPFLAGS.