change compile toolchains and set legacy ril