[Libguestfs] Two small fixes for out-of-tree builds