fixed a compilation problem in job-preserver