Fix directory separator issues