fix a couple POSIX/SSDP link error issues