Fix libselinx flags in libtar
diff --git a/libtar/Android.mk b/libtar/Android.mk
index 7e0fafb..9070f70 100644
--- a/libtar/Android.mk
+++ b/libtar/Android.mk
@@ -11,7 +11,7 @@
 					external/zlib
 LOCAL_SHARED_LIBRARIES += libz libc
 
-ifneq ($(wildcard external/libselinux/Android.mk),)
+ifeq ($(HAVE_SELINUX), true)
 	LOCAL_C_INCLUDES += external/libselinux/include
 	LOCAL_SHARED_LIBRARIES += libselinux
 	LOCAL_CFLAGS += -DHAVE_SELINUX