miniupnpc changes for freebsd