fix for miniupnpc static compile under Windows