Fix build with science/hdf5 version 1.10 by specifying that we want to
use the version 1.8 API.
Fix the build when the GUI option is disabled.
Since this port installs icons, add INSTALLS_ICONS=yes to Makefile.
PR: 209244
Approved by: makc (maintainer)