Compiling openexr_api.cpp requires WITH_OPENEXR, to get the right part of the openexr_multi.h file. Broken since r22739.