fix toolchain build error