adding AM_CXXFLAGS to Makefile.am