Use CFITSIO_LIBRARIES instead of CFITSIO_LIBRARY