Fix job.build function signature