When building shared libs we set the OPENEXR_DLL define for windows only
Merge branch 'cmake-fixes' into develop