Replace Windows directory separators when defining `TL_PATH` (see #5339)