Check if jobs command is available

It may sound unlikely, but on embedded systems there may be no jobs
command.