Add hardening option for compilation