fix path reporting on darwin