Refactoring.
Get environment variable for toolchain.