So here I must admit that I know next to zero about building things for windows, but if you have the 2010 build tools installed (have you?), you might need to include them into the PATH.
To me, this seems to be something around how to build general things on Windows more than PyTorch specific.
Best regards
Thomas