add back Name Service Switch support
rework build system; features can be used by setting the environemnt variable FEATURES='dns nss web' before calling make