Handling of Windows paths

A small fix to allow using hoisted on Windows (using backslashes as separators)