Remove unused automatic cfg bindings Fixes #7169

review? @brson 
tests are green