Adapt the path on windows or linux, slash or backslash