build: rename HAVE_TESTS to WITH_TESTS

And rename a few waf targets for clarity and consistency

Change-Id: I7efad48a4edcbc311dba7981791249a4e0cc5678
diff --git a/tools/ndnsec/wscript b/tools/ndnsec/wscript
index 1b1f40b..5fc7dbd 100644
--- a/tools/ndnsec/wscript
+++ b/tools/ndnsec/wscript
@@ -3,7 +3,7 @@
 top = '../..'
 
 def build(bld):
-    bld.objects(target='tools-ndnsec-objects',
+    bld.objects(target='ndnsec-objects',
                 source=bld.path.ant_glob('*.cpp', excl=['main.cpp']),
                 features='pch',
                 headers='ndnsec-pch.hpp',
@@ -12,7 +12,7 @@
     bld.program(name='ndnsec',
                 target=f'{top}/bin/ndnsec',
                 source=['main.cpp'],
-                use='tools-ndnsec-objects')
+                use='ndnsec-objects')
 
     # create convenience symlinks
     for cmd in ('list', 'get-default', 'set-default', 'delete',