Fix symbolic link handling.