Added error messages when compiling hdf4 support but no hdf4 libraries are present.