PE-262: Fixing enabled flag when plugin is compiled