p7zip: fix build on darwin

p7zip was compiling fine, but it was looking for the dll file instead of the so file when working with archives