It might be easier to try your setup with my binaries of
AOLserver 4 beta 8. The installer includes nsgd and many other modules.
Compiling nsgd is a lot of work because it depends on so many libraries. See step #8 in my AOLserver build instructions. The nsgd sources on SourceForge also need a patch to compile on Windows. Because nsgd has gotten almost no testing on Windows, you might find some more bugs.