win32 compatibility

 * remove bzero() calls
 * include compatible getpagesize()
 * minimize dependency on config.* and the syslog calls therein