Make Alembic optional, added an external EXR option, removed unused WITH_XXX definitions.

As our Alembic support is not great yet, and Alembic is a big dependency, some people might prefer to 
optionally leave it out.
I also removed some unused definitions and split the external exr / alembic build code.