build: Fix bug in default-compiler-flags.py

Change-Id: I711df98863a5fef2472b583e40eb4480c8324016
diff --git a/.waf-tools/default-compiler-flags.py b/.waf-tools/default-compiler-flags.py
index 9316900..c77a041 100644
--- a/.waf-tools/default-compiler-flags.py
+++ b/.waf-tools/default-compiler-flags.py
@@ -118,7 +118,7 @@
         version = tuple(int(i) for i in conf.env['CC_VERSION'])
         if version < (4, 6, 0):
             conf.fatal('The version of gcc you are using (%s) is too old.\n' %
-                       '.',join(conf.env['CC_VERSION']) +
+                       '.'.join(conf.env['CC_VERSION']) +
                        'The minimum supported gcc version is 4.6.0.')
         elif version < (4, 7, 0):
             flags['CXXFLAGS'] += ['-std=c++0x']