fix handling of directory seperator in Windows. closes #15