Fix linked dirs