build: Small fix to support Python3

Change-Id: I8e6218522ee9f03c9d9ee6357609f9003cc0cbad
Refs: #1302
diff --git a/.gitignore b/.gitignore
index 444b8db..a4d6499 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
 .DS*
 .waf-1*
+.waf3-*
 .lock*
 **/*.pyc
 build/
diff --git a/wscript b/wscript
index 7fb16ca..47aee6c 100644
--- a/wscript
+++ b/wscript
@@ -193,7 +193,7 @@
         source='tools/nfd-status-http-server.py',
         target='bin/nfd-status-http-server',
         install_path="${BINDIR}",
-        chmod=0755,
+        chmod=Utils.O755,
         VERSION=VERSION)
 
     if bld.env['SPHINX_BUILD']:
@@ -210,7 +210,7 @@
             source='tools/%s' % (str(script)),
             target='bin/%s' % (str(script.change_ext(''))),
             install_path="${BINDIR}",
-            chmod=0755,
+            chmod=Utils.O755,
             VERSION=VERSION)
 
 def docs(bld):