Rewrote MSVC scons settings. Cleaned up code.