build: Fix boost and openssl detection scripts

Change-Id: I3a5ed9d589030454bde6e98ab2f1ad568e64adce
diff --git a/.waf-tools/boost.py b/.waf-tools/boost.py
index 2b4b05a..39b5446 100644
--- a/.waf-tools/boost.py
+++ b/.waf-tools/boost.py
@@ -147,7 +147,7 @@
 			re_but1 = re.compile('^#define\\s+BOOST_LIB_VERSION\\s+"(.*)"', re.M)
 			m1 = re_but1.search(txt)
 
-			re_but2 = re.compile('^#define\\s+BOOST_VERSION\\s+"(.*)"', re.M)
+			re_but2 = re.compile('^#define\\s+BOOST_VERSION\\s+(\\d*)', re.M)
 			m2 = re_but2.search(txt)
 
 			if m1 and m2: