fix win32 build

- add missing hooks.h and hooks.c to project files
- remove extraneous symbols from libns.def
35 jobs for each-win32-fix in 22 minutes and 45 seconds (queued for 3 seconds)