Minor compilation fixes

Hi Martina,

Here are some changes I needed to make to compile jobsignaler on my computer. I thought you might be interested to merge them to the master branch.

Regards,
Cristian