fix hdf5-less build