build: load sanitizers last in wscript to prevent Boost link failure

refs #3828

Change-Id: Ia03ded8eddf116af228bb91f0fea295b28dd536b
diff --git a/wscript b/wscript
index 5cff2a6..d572382 100644
--- a/wscript
+++ b/wscript
@@ -68,8 +68,7 @@
 
     conf.load(['compiler_cxx', 'gnu_dirs', 'c_osx',
                'default-compiler-flags', 'compiler-features', 'type_traits',
-               'pch', 'sanitizers', 'osx-security',
-               'boost', 'cryptopp', 'openssl', 'sqlite3',
+               'pch', 'osx-security', 'boost', 'cryptopp', 'openssl', 'sqlite3',
                'doxygen', 'sphinx_build'])
 
     conf.env['WITH_TESTS'] = conf.options.with_tests
@@ -131,6 +130,8 @@
     # Loading "late" to prevent tests to be compiled with profiling flags
     conf.load('coverage')
 
+    conf.load('sanitizers')
+
     conf.define('SYSCONFDIR', conf.env['SYSCONFDIR'])
 
     if not conf.env.enable_static: