Correct Perl solib extension on OSX

On OSX the Perl libraries are named .dylib instead of .so so use ${SOEXT} in
the install-perl rule.