workaround HDF5_DEFINITIONS issues