Fix BSD compile (PF_UNSPEC is not a standard define, AF_UNSPEC is).