add '--delete-rpath' and '--with-gold-support'; put soname functions into single void