refactor the path of CMAKE_TOOLCHAIN_FILE