[BUGFIX] fix path handling on windows, use DIRECTORY_SEPARATOR to fix path parsing.