Merge pull request #1410 from ryandesign/configure.py-CXXFLAGS

Honor CXXFLAGS in configure.py