Index: runtime/libcxx/Makefile
===================================================================
--- runtime/libcxx/Makefile	(revision 144978)
+++ runtime/libcxx/Makefile	(working copy)
@@ -26,10 +26,8 @@
 install-local::
 	mkdir -p $(PROJ_libcxx_hdrs)/ext
 	rsync -r --exclude=".*" $(LIBCXX_SRC_ROOT)/include/* $(PROJ_libcxx_hdrs)
-	chmod 755 $(PROJ_libcxx_hdrs)
-	chmod 644 $(PROJ_libcxx_hdrs)/*
-	chmod 755 $(PROJ_libcxx_hdrs)/ext
-	chmod 644 $(PROJ_libcxx_hdrs)/ext/*
+	find "$(PROJ_libcxx_hdrs)" -type f -exec chmod 644 "{}" ";"
+	find "$(PROJ_libcxx_hdrs)" -type d -exec chmod 755 "{}" ";"
 
 endif
 endif
