Fix dylib archiving

It seems that if the installation directory and header directory are
both customized, Xcode will refuse to archive the library. So set the
installation name manually (prefixing it with "@rpath"), and keep
the installation and header directories as the default.
Remove outdated custom configuration options