D-Bus: Fix proxy creation in separate source file