Getting wdns to build on mac by removing unknown ld options in AM_LDFLAGS

I'm not sure if you want this pull request, but I figured I'd put it out there.  I'm not exactly certain what the exact consequences are of removing the unknown AM_LDFLAGS for ld on mac.