Added support for windows paths.