build: distcheck should include optimizations and hardening.