After setting tools variable in environment you should use env.Program('...') instead of Program('...'). Below is my working SConstruct for mingw:
path = ['C:\\Dev\\MinGW\\x64-4.9.2-posix-seh-rt_v3-rev1\\mingw64\\bin']
temp = 'C:\\Temp'
env = Environment(ENV={'PATH': path, 'TEMP': temp},
tools=['mingw'])
env.Program('solver-tikhonov.cpp')