Fix openexr linking against libstdc++