Fix enable_perfdata attribute in compat features.

Fixes #5693