removed ngs/defs.h and NGS_EXTERN; adding a missing change