support BSD systems by using netifaces
Merge pull request #31 from santagada/master

support BSD systems by using netifaces