Makefile improvements
- allow to build shared and static versions separately
- fix OSX shared build
Apparently for use in LALPulsar ResamplingOpenCL it's occasionally necessary to build a shared version of this library. This modification allows to build (and install) static and shared versions separately, and also fixes building the shared version on Mac OSX.