Fix sed regexps to parse CXXFLAGS and CFLAGS when they contain equal signs.