Merge pull request #2 from Alexpux/master

Fixes for MSYS
handle /bar for/path
handle different paths in path lists: fix #1