PERL-267 memory leak fixes. plus, making sure libson is linked when building
Merge pull request #85 from rojasc/master

PERL-267 memory leak fixes. plus, making sure libson is linked when buil...