fixed windows support by using pathSeparator instead of ":"