Some workaround for gperf,inline,clang,mac
Need cast to sockaddr on Mac