Remove unused automatic cfg bindings Fixes #7169

review?
tests are green