Index: trunk/dep/Makefile.am
===================================================================
--- trunk/dep/Makefile.am (revision 6)
+++ trunk/dep/Makefile.am (revision 8)
@@ -18,5 +18,9 @@
 
 ## Sub-directories to parse
-SUBDIRS = include lib src ACE_wrappers
+SUBDIRS = include lib src
+
+if TRI_BUILD_ACE
+SUBDIRS += ACE_wrappers
+endif
 
 ## Additional files to include when running 'make dist'
