fixed hdf4 support for win