fix compatibility with older OIIO 1.2