More Packaging fixes for windows and additional CMake checks for the HDF5 installation using either environment variables or a preset variab

More Packaging fixes for windows and additional CMake checks for the
HDF5 installation using either environment variables or a preset
variable from the CMakeCache