g2: add a guard for STweaks, building with it breaks recovery build