Should be pathsep (package.config:sub(1, 1)), \ is not the path separator on linux or OSX.