I copied this from openexr_api.cpp actually. But there is no reason to assume it's even required for OIIO.
I'll remove this, commit and keep an eye in the buildbot.