@aviais, if it is not a typo, please change your ‘export’ to the following: (you missed a ‘/’ which will make the path not absolute)
export install_root=/mnt/c/CP/REPOSITORIES/CPU/libtorch-shared-with-deps-latest/libtorch
let me know whether it works