Add AM_CXXFLAGS to Makefile.*.include sub-builds.
Add test builds back into travis.