make path.sep cors platform