Script fix for auto-toolchain setup

Change-Id: I68ee92d3fafd6bba15dc092f645af990d4f46ebe