Fix relative directories