Fix travis build for HDF5.