Shut up GCC about usage of possibly uninitialized value.
Remove strdup from plugin hooks.
Define HAVE_STRDUP on Win32.