fix compile with toolchain