fix build errorts in toolchain config