The static build fails with undefined references to __memcpy_chk when the fortify hardening is enabled.