xattr: Disallow build on non linux platforms

This change is necessary to avoid build problems on Docker

Signed-off-by: Harshavardhana <fharshav@redhat.com>