Another attempts at PATH generation for windows.