Add find_package(HDF5 ...) for static builds.

When building statically the HDF5 targets are needed.

Change-Id: I4f966fa41a682e76fff266f5286b74debdcd0e10
Merge topic 'hdf5-static' into master

a9734f2a Add find_package(HDF5 ...) for static builds.