making healpix/gl dependencies optional

This patch makes healpix/libsharp optional install requirements (as they are not needed for some problems, and are sometimes difficult to install). Works fine for me!