make dependencies also work on windows

with this change the dependencies can be specified in an OS agnostic way. So both "some/path" and "some\path" are working now.