ppc: upnp: various fixes for better compatibility