Add 'Android.mk' file, fix compile on Android.

This requires disabling LDPRELOAD and temporarily disabling
capabilities support.

Reland of https://android-review.googlesource.com/#/c/159755/
with compile fixes. Compile-tested on
aosp_{x86,x86_64,arm,arm64,mips64}-eng.

Bug: 22487289
Change-Id: Ia4530cf09b074aa0a2afe5a5b307ff3c5c5d6c08
diff --git a/util.c b/util.c
index f05bf07..550ed78 100644
--- a/util.c
+++ b/util.c
@@ -29,8 +29,8 @@
 const char *log_syscalls[] = { "socketcall", "time" };
 #elif defined(__arm__)
 const char *log_syscalls[] = { "connect", "gettimeofday", "send" };
-#elif defined(__powerpc__) || defined(__ia64__) || defined(__hppa__) || \
-      defined(__sparc__) || defined(__mips__)
+#elif defined(__aarch64__) || defined(__powerpc__) || defined(__ia64__) || \
+      defined(__hppa__) || defined(__sparc__) || defined(__mips__)
 const char *log_syscalls[] = { "connect", "send" };
 #else
 #error "Unsupported platform"