fixing hdf5 libs related stuff