Fix not trying hard enough to find the correct file on build errors.
If there are multiple files with the same name, then we try harder to find the correct one. That is for jom and nmake we have a relative path so we try to find a file which matches the relative path completly. Instead of just comparing the last part.
Showing with 22 additions and 6 deletions