build+src: Updating common.hpp to import (std|boost)::(shared_ptr|function|...) into ndn namespace

Also fixing a small bug in wscript.

Change-Id: I8f20caa177cc015b7433d1ecd3db385f533437c6
diff --git a/wscript b/wscript
index 5adcddb..96ffc85 100644
--- a/wscript
+++ b/wscript
@@ -97,6 +97,8 @@
                 conf.env['USE_SYSTEM_BOOST'] = True
                 conf.define('USE_SYSTEM_BOOST', 1)
 
+    conf.check_cxx(lib='rt', uselib_store='RT', define_name='HAVE_RT', mandatory=False)
+
     conf.write_config_header('src/ndn-cpp-config.h', define_prefix='NDN_CPP_')
 
 def build (bld):
@@ -155,11 +157,10 @@
 
     bld.recurse("tools examples")
       
-    headers = bld.path.ant_glob(['src/**/*.hpp',
-                                 'src/**/*.h'])
-    bld.install_files("%s/src" % bld.env['INCLUDEDIR'], headers, relative_trick=True, cwd=bld.path.find_node('src'))
+    headers = bld.path.ant_glob(['src/**/*.hpp'])
+    bld.install_files("%s/ndn-cpp-dev" % bld.env['INCLUDEDIR'], headers, relative_trick=True, cwd=bld.path.find_node('src'))
 
-    bld.install_files("%s/src" % bld.env['INCLUDEDIR'], bld.path.find_resource('ndn-cpp-config.h'))
+    bld.install_files("%s/ndn-cpp-dev" % bld.env['INCLUDEDIR'], bld.path.find_resource('src/ndn-cpp-config.h'))
 
 @Configure.conf
 def add_supported_cxxflags(self, cxxflags):