fix HDF5 linking
update example