Fix/windows hardening