Fix bugs caused by the switch to libvoyeur