Build fix

I started to build a debian package from the current HEAD to provide an updated version of your library in debian. Two things caused some small trouble but imho their should be no problem to apply this small patch.