Make library run on windows
avoid \\ in relationship targets on Windows
Merge pull request #2 from alexeybaj/master

fix partname generation on non-Posix systems