Fix windows build of AAPT2

Change-Id: Ib8e1a4322510b582e9600a08d3118842c9abc73c
diff --git a/tools/aapt2/TableFlattener.cpp b/tools/aapt2/TableFlattener.cpp
index c306185..67c56e7 100644
--- a/tools/aapt2/TableFlattener.cpp
+++ b/tools/aapt2/TableFlattener.cpp
@@ -24,6 +24,7 @@
 #include "TableFlattener.h"
 #include "Util.h"
 
+#include <algorithm>
 #include <androidfw/ResourceTypes.h>
 #include <sstream>