Misc fixes

Ran across those issues when packaging smokeping for Arch Linux.