Add -lstdc++ to ilmbase and ilmbase statics to openexr