features: rework feature test macros