Can build with epub disabled

Added the required preprocessor directives to make building without epub support possible.
epub: Silence warnings in ev-jobs.c