Shared lib, header installation

I realized your branch didn't already have these changes. They'll come in handy for using libpartial, particularly for the project i asked about LGPL licensing on this. Thanks!