Fix autoconf check for function attributes.