error building netcdf with intel parallel studio xe

Hi all, i'm trying to build netcdf-4.4.1. with hdf5-1.8.1, to compile with
intel parallel studio xe 2016 update 3, following this url:

https://software.intel.com/en-us/articles/performance-tools-for-software-developers-building-netcdf-with-the-intel-compilers

It presents the following error when running make:

libtool: compile: icc -DHAVE_CONFIG_H -I. -I.. -I../include
-I/opt/hdf5/include -I/opt/curl/include -O3 -xHost -ip -no-prec-div
-static-intel -MT libnetcdf4_la-nc4file.lo -MD -MP -MF
.deps/libnetcdf4_la-nc4file.Tpo -c nc4file.c -fPIC -DPIC -o
.libs/libnetcdf4_la-nc4file.o
nc4file.c(2322): error: identifier "H5LT_FILE_IMAGE_DONT_COPY" is undefined

H5LT_FILE_IMAGE_DONT_COPY|H5LT_FILE_IMAGE_DONT_RELEASE
                        ^

nc4file.c(2322): error: identifier "H5LT_FILE_IMAGE_DONT_RELEASE" is
undefined

H5LT_FILE_IMAGE_DONT_COPY|H5LT_FILE_IMAGE_DONT_RELEASE
                                                  ^

compilation aborted for nc4file.c (code 2)
make[2]: *** [libnetcdf4_la-nc4file.lo] Error 1
make[2]: Leaving directory `/root/libs/netcdf-4.4.1/libsrc4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/libs/netcdf-4.4.1'
make: *** [all] Error 2
^C[1]+ Exit 2 make &>make.log

My hdf5 configure and make finished ok:
./configure --with-zlib=/opt/zlib --with-szlib=/opt/szip --prefix=/opt/hdf5

There seems to be a link in hdf5 I'm skipping. Any ideas to fix this?

Thanks in advance

FerMon