ND(S)Size: adjust typedef to be 100% compatible to hdf5

Not as nice but the quick fix for now
Merge branch 'interfaces_ck'