Added fix for relative paths on Windows