Fix hdf5 libraries.