more dynamic miniupnp fixes