Make configuration example aware of already defined constants.

Reduces the barrage of warnings during testing.