fix path to embeddedgmetric.h in statsd.c
link nsl and socket libs if compiling on solaris
Merge pull request #10 from rjwill/master

one fix and added support for solaris