fix conditionality uninitialised variable
Need definition of sockaddr_dl for non-Linux
Merge pull request #2 from justincormack/fixes

Small compile-fixes