Fixed soname generation for drivers.