Fix hardening flags