fix pdf generation from delayed_jobs
add missing lib file