got everything compiling (should still work too) with aos
diff --git a/aos/common/common.gyp b/aos/common/common.gyp
index 967eb51..4265b18 100644
--- a/aos/common/common.gyp
+++ b/aos/common/common.gyp
@@ -151,6 +151,7 @@
         'queue_testutils',
         'common',
         'queue_test_queue',
+        '<(AOS)/common/util/util.gyp:thread',
       ],
     },
     {