Fix error in windows

Fix the error that happen because the directory separator is not '/'