fix cpp flags configure substitution pattern
fix spelling of variable name
Merge pull request #2 from trommler/cpp_settings

Cpp settings typo fix