diff -Naur mongodb-src-r2.4.2-lunar/SConstruct mongodb-src-r2.4.2/SConstruct
--- mongodb-src-r2.4.2-lunar/SConstruct	2013-04-20 21:32:36.145121609 +0200
+++ mongodb-src-r2.4.2/SConstruct	2013-04-20 21:44:23.248087771 +0200
@@ -308,7 +308,8 @@
 
                    PCRE_VERSION='8.30',
                    CONFIGUREDIR = '#' + scons_data_dir + '/sconf_temp',
-                   CONFIGURELOG = '#' + scons_data_dir + '/config.log'
+                   CONFIGURELOG = '#' + scons_data_dir + '/config.log',
+                   ENV=os.environ
                    )
 
 env['_LIBDEPS'] = '$_LIBDEPS_OBJS'
