configure.ac: bugfix for CXXFLAGS