fix relativePath for Windows.