Set an soname on libperl.so

I have split this into two commits so that if you would rather follow upstream and not set an soname, you can just merge the first commit.