Fix directory linking.