Fix for:
https://github.com/openexr/openexr/issues/43