Let configure to force using upnp/natpmp at FreeBSD
Allow upnp_stub.c to be compiled on os x