Make all paths relative; fix slashes on win32