Made ssdp library FreeBSD proof