fix (makeRelativePath): add better fix for resolving relative paths

Add a much shorter set of logic that works on all platforms instead of
custom logic for windows. After removing a subpath when resolving a
relative path, look for path separator on the front (either / or \)
and remove it if necassary.