1diff --git a/SConstruct b/SConstruct
2index 4358a23..6ce7776 100644
3--- a/SConstruct
4+++ b/SConstruct
5@@ -155,6 +155,8 @@ if sys.platform == 'win32':
6 env = Environment(variables=opts,
7 tools=('default', 'textfile',),
8 CPPPATH=['.', ],
9+ AR=os.environ['AR'],
10+ ENV=os.environ,
11 )
12
13 env.Append(BUILDERS = {