Qt: Fix UPNP build issues