Fix some smaller compilation issues with rust-1.22
Fix some smaller compilation issues with rust-1.22

Signed-off-by: Fabian Deutsch <de69c509e52dfe544d526a81279fe21e1252748c@fedoraproject.org>

haraldh/rust-varlink