When building shared libs we set the OPENEXR_DLL define for windows only