Add separate install-static and install-shared targets

This allows installing only the static library or shared library
without the other.
Merge pull request #451 from mstorsjo/install-static-only

Add separate install-static and install-shared targets