miniupnp updates. win version should be rewritten too