Added fix for relative paths on windows