[Bug 792294] make samba lib sub package name handling more agile