build: Update of waf and waf-tools (fixing boost detection on some platforms)

Change-Id: I35ec6db068ee5f309a5af6f2e2e0b9b43430969f
diff --git a/src/sync-logging.h b/src/sync-logging.h
index f92a3c6..3d2f5d3 100644
--- a/src/sync-logging.h
+++ b/src/sync-logging.h
@@ -61,10 +61,12 @@
 #ifdef _DEBUG
 
 #include <boost/date_time/posix_time/posix_time.hpp>
+#include <boost/thread/thread_time.hpp>
+#include <boost/thread/thread.hpp>
 #include <iostream>
 
 #define _LOG_DEBUG(x) \
-  std::clog << boost::get_system_time () << " " << boost::this_thread::get_id () << " " << x << endl;
+  std::clog << boost::get_system_time () << " " << boost::this_thread::get_id () << " " << x << std::endl;
 
 #else
 #define _LOG_DEBUG(x)