SConsctruct: clean

* Remove duplicate variable set in environment.
* Simplify how to check librairies when not win.