added new api to change toolchain settings

Change-Id: I72123a6090b2adab5ef62a79da9a01bfdc5f34a0