Furthermore, `HDF5_IS_STATIC`/`HDF5_HAS_STATIC` does not mean there is no shared hdf5 library available.