build: update waf to version 2.0.6

Cleanup in most build scripts

Change-Id: Ib024e95fb6f80e72b0c00e1dc8bb9300d6c5f191
diff --git a/tests/integrated/wscript b/tests/integrated/wscript
index 08260b7..5d04422 100644
--- a/tests/integrated/wscript
+++ b/tests/integrated/wscript
@@ -2,14 +2,12 @@
 
 from waflib import Utils
 
-top = '..'
+top = '../..'
 
 def build(bld):
-    for i in bld.path.ant_glob(['*.cpp']):
-        name = str(i)[:-len(".cpp")]
-        bld(features='cxx cxxprogram',
-            target=name,
-            source=[i],
-            use='ndn-cxx boost-tests-base BOOST',
-            includes='..',
-            install_path=None)
+    for test in bld.path.ant_glob('*.cpp'):
+        name = test.change_ext('').path_from(bld.path.get_bld())
+        bld.program(target=name,
+                    source=[test],
+                    use='ndn-cxx tests-base BOOST',
+                    install_path=None)