Ignore numbered shared libraries

On OS X they are libcfitsio.1.dylib but on linux they are
libcfitsio.so.1