Merge "configure: add --extra-cxxflags option"