Added support for NO_SHARED in make install.
Merge pull request #327 from lucasb-eyer/develop

Added support for NO_SHARED in make install.