I think on *can* build a shared library with *static* linked hdf5, too