Corrects the path according to the OS