[kdbus] Fix compilation errors