Fix shared library symlink generation.

The versionless symlink (i.e. libfoo.dylib / libfoo.so) was not
being created.

Change-Id: Ia2a01786443e7643cc82d05829300ba94be5fd6e
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>