Can't easily use in non-standard perl location (local::lib etc.)

As the title says, you can't easily use this module if your perl lives in a non-standard location (say either a local::lib install, or if as we do on our production boxes the application perl lives in /opt/perl-5.16.3)

One possible fix for this would be to not build a separate libcld.so but instead link the objects into the single perl CLD.so - is there a reason not to take this approach?

If you are happy with this let me know and I'll work on a pull request to change how the build happens.