1349: allow to specify custom lib-hdf5 directory