fix building without libattr