[binary addons] autodetect and generate soname version