Use xattr.h from libc, not from libattr.