Fix error with paths like "D:\home\source_code\hooktest" and "D:\home\source_code\hooktest2" which is actually diferent