modified openexr for mac os