Fix the symlink creation from r249484 so that repeated
installs work correctly.

Suggested by Tijl Coosemans.
An even more refined version of r249484, until we can come up with
a good fix for the -print-file-name=include breakage.

As suggested by Andrey Chernov.