Try a better way to deduce if the xattr functions we need are there.