workaround for openexr issue 3

see https://github.com/openexr/openexr/issues/3