build: Fixing dependency detection

When detecting location of the library, `includes` and `libpath`
variables must be used instead of `cxxflags` and `linkflags` to specify
path to includes and path to the libraries.

Change-Id: I81048a9c80f3e743630a0e80231fc6290aa782ec
diff --git a/.waf-tools/dependency-checker.py b/.waf-tools/dependency-checker.py
index 5751c62..629fbfd 100644
--- a/.waf-tools/dependency-checker.py
+++ b/.waf-tools/dependency-checker.py
@@ -18,8 +18,8 @@
     kw['mandatory'] = kw.get('mandatory', True)
 
     if root:
-        isOk = self.check_cxx(cxxflags="-I%s/include" % root,
-                              linkflags="-L%s/lib" % root,
+        isOk = self.check_cxx(includes="%s/include" % root,
+                              libpath="%s/lib" % root,
                               **kw)
     else:
         isOk = self.check_cxx(**kw)