Fix path issue with non posix shell