Switch toolchain and save+restore env variables

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>