fix path to embeddedgmetric.h in statsd.c
link nsl and socket libs if compiling on solaris