build: Update build scripts

Change-Id: Ifad7ff5004a4dede8beec348e9920453fc74449d
diff --git a/tools/ndns-update.cpp b/tools/ndns-update.cpp
index a99aeb3..0b56c55 100644
--- a/tools/ndns-update.cpp
+++ b/tools/ndns-update.cpp
@@ -176,7 +176,7 @@
     m_interestLifetime = interestLifetime;
   }
 
-  const bool
+  bool
   hasError() const
   {
     return m_hasError;