Remove customized installation directories for libraries

Apparently Xcode simply refuses the archive libraries if their
installation directories are customized. To allowing archiving, we have
to remove the custom directories, then set the installation name
manually (so it can easily be used in an OS X application).