Bug fix for windows paths.