Make EXR support optional