configure: fix compilation on hosts without -fstack-protector-all