Attempt to fix local links.